package cn.fuxue.hrms.mapper;

import cn.fuxue.hrms.common.base.BaseMapper;
import cn.fuxue.hrms.common.dto.CvInfoShow;
import cn.fuxue.hrms.common.entity.CvInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CvMapper extends BaseMapper<CvInfo,Integer> {


    List<CvInfoShow> findCvInfo(String likename);

    Map<String,Long> findWorkNumber(@Param("user_id") Integer user_id);

    Map<String,Integer> findEduBack(@Param("user_id") Integer user_id);

    List<Map<String,Object>> findCvInfoById(@Param("cv_id") Integer cv_id);
}
